package wrapper.push_message;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sun.javafx.property.adapter.PropertyDescriptor;
import net.minidev.json.JSONObject;

import java.lang.reflect.Field;

/**
 * Created by chpengzh <cpz@youjianghr.com> on 2015/7/18.
 * 基本内容主体类;
 */
@JsonSerialize(include= JsonSerialize.Inclusion.NON_DEFAULT)
public class PayLoad{

    public static class DisplayType{
        public static final String NOTIFICATION = "notification";
        public static final String MESSAGE = "message";
    }

    private String display_type;
    private Body body;
    private JSONObject extra;

    public String getDisplay_type() {
        return display_type;
    }

    public void setDisplay_type(String display_type) {
        this.display_type = display_type;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public JSONObject getExtra() {
        return extra;
    }

    public void setExtra(JSONObject extra) {
        this.extra = extra;
    }

}
